Skip to content

[3.11] gh-96005: Handle WASI ENOTCAPABLE in getpath (GH-96006)#96032

Closed
miss-islington wants to merge 1 commit into
python:3.11from
miss-islington:backport-48174fa-3.11
Closed

[3.11] gh-96005: Handle WASI ENOTCAPABLE in getpath (GH-96006)#96032
miss-islington wants to merge 1 commit into
python:3.11from
miss-islington:backport-48174fa-3.11

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 16, 2022

Copy link
Copy Markdown
Contributor
  • On WASI ENOTCAPABLE is now mapped to PermissionError.
  • The errno modules exposes the new error number.
  • getpath.py now ignores PermissionError when it cannot open landmark
    files pybuilddir.txt and pyenv.cfg.
    (cherry picked from commit 48174fa)

Co-authored-by: Christian Heimes christian@python.org

- On WASI `ENOTCAPABLE` is now mapped to `PermissionError`.
- The `errno` modules exposes the new error number.
- `getpath.py` now ignores `PermissionError` when it cannot open landmark
  files `pybuilddir.txt` and `pyenv.cfg`.
(cherry picked from commit 48174fa)

Co-authored-by: Christian Heimes <christian@python.org>
@miss-islington

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

@tiran

tiran commented Aug 16, 2022

Copy link
Copy Markdown
Member

Deferred to 3.11.1

@miss-islington

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

@tiran

tiran commented Aug 17, 2022

Copy link
Copy Markdown
Member

Replaced by PR GH-96038

@tiran tiran closed this Aug 17, 2022
@miss-islington miss-islington deleted the backport-48174fa-3.11 branch January 2, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants